Einhugur macOS Bridge plugin.

NSColor.BrightnessComponent Property

The brightness component value of the color.

BrightnessComponent as Double {Read}

Remarks

Access this property only for colors in the NSCalibratedRGBColorSpace or NSDeviceRGBColorSpace color spaces. RGB values are converted to HSB values as needed. Accessing it for other color types will make this property return 0.0.

See Also

NSColor Class